<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Ssl\V20191205\Models;
use TencentCloud\Common\AbstractModel;

/**
 * Details of TCB environment instance
 *
 * @method string getID() Obtain The unique ID.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setID(string $ID) Set The unique ID.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method string getSource() Obtain The source.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setSource(string $Source) Set The source.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method string getName() Obtain The name.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setName(string $Name) Set The name.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method string getStatus() Obtain The status.
Note: This field may return null, indicating that no valid values can be obtained.
 * @method void setStatus(string $Status) Set The status.
Note: This field may return null, indicating that no valid values can be obtained.
 */
class TCBEnvironment extends AbstractModel
{
    /**
     * @var string The unique ID.
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $ID;

    /**
     * @var string The source.
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $Source;

    /**
     * @var string The name.
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $Name;

    /**
     * @var string The status.
Note: This field may return null, indicating that no valid values can be obtained.
     */
    public $Status;

    /**
     * @param string $ID The unique ID.
Note: This field may return null, indicating that no valid values can be obtained.
     * @param string $Source The source.
Note: This field may return null, indicating that no valid values can be obtained.
     * @param string $Name The name.
Note: This field may return null, indicating that no valid values can be obtained.
     * @param string $Status The status.
Note: This field may return null, indicating that no valid values can be obtained.
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("ID",$param) and $param["ID"] !== null) {
            $this->ID = $param["ID"];
        }

        if (array_key_exists("Source",$param) and $param["Source"] !== null) {
            $this->Source = $param["Source"];
        }

        if (array_key_exists("Name",$param) and $param["Name"] !== null) {
            $this->Name = $param["Name"];
        }

        if (array_key_exists("Status",$param) and $param["Status"] !== null) {
            $this->Status = $param["Status"];
        }
    }
}
